using UnityEngine;


public class ReverseShow : MonoBehaviour
{
    public bool IsReverse = false;
    void Update()
    {
        IsReverse = GameObject.Find("BUG").GetComponent<Movement>().reverse;
        Debug.Log(IsReverse);
        if (IsReverse)
        {
            transform.localScale = Vector3.one;
        } else
        {
            transform.localScale = new Vector3(0, 0, 0);
        }
    }
}